﻿.ui-widget-overlay {
    opacity: 0;
}

.ui-dialog .ui-dialog-buttonpane {
    margin-top: 0px;
}

.ui-datepicker table.ui-datepicker-calendar {
    table-layout: fixed;
}

.ui-dialog .ui-dialog-titlebar-buttonpane {
    margin-right: 4px;
}

.ui-dialog .ui-dialog-titlebar-buttonpane > a {
    float: right;
    width: 19px;
    height: 18px;
    margin-left: 2px;
}

.ui-dialog .ui-dialog-titlebar-buttonpane > a > span {
    display: block;
    margin: 1px;
}

.ui-dialog .ui-dialog-titlebar-buttonpane > a:hover,
.ui-dialog .ui-dialog-titlebar-buttonpane > a:focus {
    padding: 0;
}

.ui-dialog .ui-dialog-titlebar ::selection {
    background-color: transparent;
}

.ui-dialog .ui-dialog-titlebar {
    padding-right: 40px;
}

.ui-dialog .ui-dialog-titlebar .ui-dialog-title {
    white-space: nowrap;
    width: 100%;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-dialog {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;

    .ui-dialog-titlebar .ui-dialog-title {
        font-weight: 600;
    }

    .ui-dialog-titlebar {
        .gradient(#fff, #F2F8FF, #fff);
        color: #000;
        font-weight: 600;
    }

    .ui-dialog-buttonpane {
        background-color: #fff;
        border-top: 1px solid #C7E9FA;
        padding: 0;

        button {
            margin: .5em .5em .5em 0;
        }
    }

    .ui-tabs .tab-pane {
        padding: 6px 0;
    }

    .ui-tabs-nav {
        margin-top: 6px;
    }

    .ui-tabs-panel {
        border: none;
    }

    .ui-tabs .ui-tabs-nav {
        padding-left: 8px;
    }

    .ui-tabs .ui-tabs-nav li a {
        font-size: 14px;
        font-weight: 600;
    }

    .ui-tabs .ui-tabs-nav .ui-state-default, 
    .ui-tabs .ui-tabs-nav .ui-widget-content .ui-state-default, 
    .ui-tabs .ui-tabs-nav .ui-widget-header .ui-state-default {
        .gradient(#fff, #f7f7f7, #fff);
    }

    .ui-tabs .ui-tabs-nav .ui-state-active {
        background: #fff;
    }

    .ui-tabs .ui-tabs-nav li {
        box-shadow: none;
        border-color: #e7e7e7;
        border-left: none;
        border-right: none;
        margin-right: 3px;
    }

    .ui-tabs .ui-tabs-nav li a {
        border-left: 1px solid #e0e0e0;
        border-right: 1px solid #e0e0e0;
        color: #424E68;
    }

    .ui-tabs .ui-tabs-nav li {
        border-top: 3px solid #B1AFDB;
    }

    .ui-tabs .ui-tabs-nav li.ui-tabs-active {
        border-top: 3px solid #f3565d;
    }

    .ui-tabs .ui-tabs-nav li.ui-tabs-active a {
        color: #000;
    }
}

.ui-dialog {
    border: 1px solid #A8DEFA;
    border-radius: 0;
    box-shadow: 0 0 10px rgba(18, 35, 122, 0.4);
}

.ui-dialog:focus {
    outline: none;
}

.ui-dialog-titlebar {
    color: #095B85;
}

.ui-dialog-titlebar span.ui-dialog-title {
    font-size: 15px;
    font-weight: 500;
    text-shadow: 0 0 3px rgba(0, 144, 217, 0.15);
}

.ui-dialog .ui-dialog-titlebar {
    border-bottom: 1px solid #C7E9FA;
    padding: 0.5em 10em 0.4em 1em
}

.ui-dialog-titlebar-buttonpane {
    right: 34px !important;
    top: 19px !important;
    margin-right: 4px;
}

.ui-dialog-titlebar-buttonpane .ui-corner-all {
    border-radius: 0;
}

.ui-dialog-titlebar-buttonpane a.ui-state-default {
    background: none;
    border: 1px solid #C7E9FA;
}

.ui-dialog-titlebar button.ui-dialog-titlebar-close,
.ui-dialog-titlebar button.ui-dialog-titlebar-close:hover {
    border: 1px solid #C7E9FA;
    height: 22px;
    width: 22px;
    border-radius: 0;
    background: transparent url(../serenity/images/cross.png) no-repeat center center;
}

.ui-dialog-titlebar button.ui-dialog-titlebar-close:hover {
    background-color: #fff;
}

.ui-dialog-titlebar span.ui-icon-closethick {
    background-image: url(../serenity/images/cross.png);
    background-position: center center;
}

.ui-dialog-titlebar-buttonpane .ui-icon-maximize-window {
    background-image: url(../serenity/images/full-screen-2.png) !important;
    background-position: center center;
}

.ui-dialog .ui-dialog-titlebar-buttonpane > a {
    width: 22px;
    height: 22px;
}

.ui-dialog .ui-dialog-titlebar-buttonpane > a span {
    margin: 2px;
}

.ui-dialog-titlebar-buttonpane {
    margin-top: -11px !important;
}

.ui-dialog .ui-dialog-titlebar-close {
    margin-top: -11px;
}

.ui-dialog .ui-dialog-titlebar-buttonpane > a:hover {
    background: #fff;
}


.ui-dialog .ui-resizable-se {
    right: -1px;
    bottom: -1px;
}

.ui-dialog .ui-dialog-content {
    padding: 0;
}

.ui-tabs .ui-tabs-nav li {
    margin-right: 2px;
}

.ui-icon-maximize-window { background: url(images/maximize-button.png) 0 0 no-repeat !important; }

button.ui-state-focus .ui-button-text { 
    outline: 1px dotted; 
}

button.ui-state-active .ui-button-text { 
    outline: none; 
}

button.ui-state-hover .ui-button-text { 
    outline: none; 
}

button.ui-state-focus .ui-button-text { outline: 1px dotted; }
button.ui-state-active .ui-button-text { outline: none; }
button.ui-state-hover .ui-button-text { outline: none; }

.ui-menu { list-style:none; padding: 2px; margin: 0; display:block; z-index: 10000; }
.ui-menu .ui-menu { margin-top: -3px; }
.ui-menu .ui-menu-item { margin:0; padding: 0; zoom: 1; width: 100%; }
.ui-menu .ui-menu-item a { text-decoration:none; display:block; padding:.2em .4em; line-height:1.5; zoom:1; }
.ui-menu .ui-menu-item a { font-weight: normal; }
.ui-menu .ui-menu-item a.ui-state-hover, .ui-menu .ui-menu-item a.ui-state-active { font-weight: normal; }

.ui-menu.ui-widget-content { background: #578ebe; border: none; padding: 1px; }
.ui-menu.ui-widget-content a {
    color: #fff;
}

.ui-menu { width: 200px; position: absolute; }
.ui-menu .ui-icon { float: right; }

.s-PopupMenu {
    position: absolute;
    width: 200px;
    z-index: 2000;
}

.s-PopupMenu.ui-corner-all {
    border-radius: 0;
}

.ui-menu .ui-menu-item a {
    text-shadow: none;
}

.ui-menu .ui-menu-item a.ui-state-focus,
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
    border-color: #66aeed;
    background-color: #66aeed;
    text-shadow: none;
}

.s-MaximizeButton { float: right; margin: 3px 4px 0 2px; width: 18px; height: 18px; padding: 1px; }
.s-MaximizeButton.hover { padding: 0px; border: 1px solid #aaa; }
.s-MaximizeButton a { width: 18px; height: 18px; display: block; background: transparent url(images/application-resize-full.png) no-repeat center center; opacity: 0.7; }
.s-MaximizeButton.active { padding: 0px; border: 1px solid #aaa; } 
.s-MaximizeButton.active a { opacity: 1; background-color: #fe7; background-image: url(images/application-resize-actual.png); }
.s-Maximized { position: absolute !important; left: 8px !important; top: 8px !important; bottom: 8px !important; right: 8px !important; border: 2px solid #333; }

.ui-dropdownchecklist {	height: 15px; border: 1px solid #ccc; border-right: 0; background: #fff url(jquery.plugins/dropdown.png) no-repeat center right; }
.ui-dropdownchecklist-hover, .ui-dropdownchecklist-active {	background-image: url(jquery.plugins/dropdown_hover.png); border-color: #5794bf; }
.ui-dropdownchecklist-text { padding: 0 0 0 3px; margin-right: 17px; height: 15px; line-height: 16px; font-size: 11px; white-space: nowrap; }
.ui-dropdownchecklist-dropcontainer { background-color: #fff; border: 1px solid #999; padding-top: 1px; z-index: 100; }
.ui-dropdownchecklist-item { padding-left: 1px; }
.ui-dropdownchecklist-item-hover { background-color: #39f; }
.ui-dropdownchecklist-item-hover .ui-dropdownchecklist-text { color: #fff; }
.ui-dropdownchecklist-group { font-weight: bold; font-style: italic; }
.ui-dropdownchecklist-indent { padding-left: 20px; }
.ui-dropdownchecklist-dropcontainer-wrapper { z-index: 1001; }